package com.ruoyi.system.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 商品信息对象 sys_item_info
 *
 * @author hc
 * @date 2023-12-07
 */
@Data
public class SysItemInfo extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 物品ID
     */
    private Long itemId;

    /**
     * 物品编码
     */
    @Excel(name = "物品编码")
    private String itemCode;

    /** 物品名称 */
    /**
     * 物品名称
     */
    @Excel(name = "物品名称")
    private String itemName;

    /**
     * 显示顺序
     */
    @Excel(name = "显示顺序")
    private Integer itemSort;

    /**
     * 物品分类
     */
    @Excel(name = "物品分类")
    private String itemClass;

    /**
     * 物品分类名称
     */
    @Excel(name = "物品分类名称")
    private String itemClassName;

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("itemId", getItemId())
                .append("itemCode", getItemCode())
                .append("itemName", getItemName())
                .append("itemSort", getItemSort())
                .append("itemClass", getItemClass())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("remark", getRemark())
                .append("itemClassName", getItemClassName())
                .toString();
    }
}
